package project.background.dto;

import java.util.Date;

import fld.background.system.dto.annotation.Dto;
import fld.background.system.dto.annotation.NoDeleted;
import fld.background.system.dto.annotation.QueryElements;
import fld.background.system.dto.annotation.Sorted;
import fld.background.system.dto.enums.QueryType;

@Dto("客户留言")
@NoDeleted
@Sorted({"createTime desc"})
public class LeavingMessageDto{
	
	@QueryElements(field = "companyId", type = QueryType.equal)
	private Long companyId;
	
	@QueryElements(field = "name", type = QueryType.like)
	private String name;
	
	@QueryElements(field = "phone", type = QueryType.like)
	private String phone;
	
	@QueryElements(field = "sfhf", type = QueryType.equal)
	private String sfhf;
	
	@QueryElements(field = "createTime", type = QueryType.greaterThanOrEqual)
	private Date createTimes;
	
	@QueryElements(field = "createTime", type = QueryType.lessThanOrEqual)
	private Date createTimee;
	
}
